package com.fzy.core.system.service;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.fzy.core.U;

public class DictTypeListMapper implements RowMapper {

	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
		DictTypeListVo vo = new DictTypeListVo();
		vo.setId(U.getRsLong("id", rs));
		vo.setName(rs.getString("name"));
		vo.setCode(rs.getString("code"));
		return vo;
	}

}
